<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>opusfile</Name>
        <Homepage>https://opus-codec.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Library for opening, seeking, and decoding .opus files</Summary>
        <Description>Library for opening, seeking, and decoding .opus files</Description>
        <Archive sha1sum="3e86971fef28292f982a32730632b1d531059ed5" type="targz">https://ftp.osuosl.org/pub/xiph/releases/opus/opusfile-0.12.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--
            <Patch>opusfile.patch</Patch>
            <Patch level="1">opusfile.patch</Patch>
            -->
        </Patches>
    </Source>

    <Package>
        <Name>opusfile</Name>
        <RuntimeDependencies>
            <Dependency>libogg</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>openssl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>opusfile-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for opusfile</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libopus-32bit</Dependency>
            <Dependency>openssl-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libopus-32bit</Dependency>
            <Dependency>openssl-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <Package>
        <Name>opusfile-devel</Name>
        <Summary>Development files for opusfile</Summary>
        <RuntimeDependencies>
            <Dependency release="current">opusfile</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2020-06-27</Date>
            <Version>0.12</Version>
            <Comment>Version bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2020-03-07</Date>
            <Version>0.11</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
